//
//  TJStyle1Button.m
//  BaoDian
//
//  Created by mac on 2024/7/17.
//

#import "TJStyle1Button.h"

@implementation TJStyle1Button

- (instancetype)initWithFrame:(CGRect)frame {
    if (self = [super initWithFrame:frame]) {
        self.addCornerRadius(25);
        [self setBackgroundImage:[UIImage imageWithColor:UIColorMake(0x2978F0)] forState:UIControlStateNormal];
//        [self setBackgroundImage:[UIImage imageWithColor:UIColor.tj_8667FEColor] forState:UIControlStateDisabled];
//        [self setBackgroundImage:[UIImage imageWithColor:UIColor.tj_6D4DE7Color] forState:UIControlStateHighlighted];
        [self setTitleColor:UIColor.whiteColor forState:UIControlStateNormal];
        [self setTitleColor:UIColor.tj_disabledColor forState:UIControlStateDisabled];

    }
    return self;
}


@end
